package com.ruoyi.flow.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Map;

@Data
@ApiModel("工作流提交接口")
public class FlowSubmitVo {
    @ApiModelProperty("当前登录用户名") @NotEmpty private String loginName;
    @ApiModelProperty("工作流实例ID") @NotEmpty private String instId;
    @ApiModelProperty("当前节点编码") @NotEmpty private String currNodeCode;
    @ApiModelProperty("流程参数") @NotEmpty private Map<String, Object> params;
}
